package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 微信信息对象 sys_wechat
 *
 * @author ruoyi
 * @date 2024-08-08
 */
public class SysWechat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 二维码 */
    @Excel(name = "二维码")
    private String wechatCode;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wechatNum;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setWechatCode(String wechatCode)
    {
        this.wechatCode = wechatCode;
    }

    public String getWechatCode()
    {
        return wechatCode;
    }
    public void setWechatNum(String wechatNum)
    {
        this.wechatNum = wechatNum;
    }

    public String getWechatNum()
    {
        return wechatNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wechatCode", getWechatCode())
            .append("wechatNum", getWechatNum())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
